// Copyright 2017 Baidu Inc. All Rights Reserved.
// Author: Su Hao (suhao@baidu.com)
//
// Description: Message

#include "baidu_ca_message.h"
#include "mbed.h"

namespace duer {

Message::Message(int what, void* object) : _what(what) , _object(object) {
}

Message::Message(const Message& message) {
    this->_what = message._what;
    this->_object = message._object;
}

int Message::get_what() const {
    return _what;
}

void* Message::get_object() const {
    return _object;
}

} // namespace duer
